home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 June: System Software / Dev.CD Jun 97 SSW.toast / What's New? / Sample Code / Text / NeoTextBox97 / NTBDemo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-04-23  |  2.5 KB  |  52 lines  |  [TEXT/CWIE]

  1. /*****************************************************************************************
  2.  
  3. NTBDemo.h - constants and externs for NTBDemo
  4.  
  5. Written by Bryan K. Ressler (Beaker), 8/30/91
  6.  
  7. updated for the wonderful universe of PowerPC by Pete Gontier (Gurgle), 3/31/97
  8.  
  9. *****************************************************************************************/
  10.  
  11. /** DEFINES *****************************************************************************/
  12. #define kTestDlgID            128            /* DLOG/DITL: The main test dialog */
  13. #define kPerfAlrtID            129            /* ALRT/DITL: The performance results alert */
  14. #define kNoCanDoAlrtID        130            /* ALRT/DITL: The "no can do full just" alert */
  15. #define kDoPerfAlrtID        131            /* ALRT/DITL: The "do perf tests?" alert */
  16. #define kShannonID            128            /* TEXT: The Shannon text for the NTB item */
  17. #define kBarkerID            129            /* TEXT: Text from Clive Barker book */
  18. #define kTestTextID            130            /* TEXT: The text used for speed test */
  19. #define kStringsID            128            /* STR#: Text for the info box */
  20.  
  21. #define kQuitButton            1            /* Button: Quit */
  22. #define kPerfButton            2            /* Button: Performance… */
  23. #define kTextArea            3            /* User item: Main text area */
  24. #define kJustLeft            4            /* Radio button: Just left */
  25. #define kJustCenter            5            /* Radio button: Just center */
  26. #define kJustRight            6            /* Radio button: Just right */
  27. #define kJustFull            7            /* Radio button: Just full */
  28. #define kVariableHeight        8            /* Check box: Variable line height */
  29. #define kAppFont            9            /* Radio button: Application font */
  30. #define kTimes                10            /* Radio button: Times */
  31. #define kHelvetica            11            /* Radio button: Helvetica */
  32. #define kShannonText        12            /* Radio button: Shannon text */
  33. #define kLiterature            13            /* Radio button: Clive Barker */
  34. #define kValuesItem            14            /* Static text: Paramtext values */
  35. #define kInfoItem            15            /* User item: informational text */
  36. #define kBoxOne                16            /* User item: box */
  37. #define kLastBox            17            /* Item number of last box */
  38. #define kDividerOne            18            /* User item: gray divider line */
  39. #define kLastDivider        20            /* Item number of last divider */
  40.  
  41. #define kOkayButton            1            /* OK button in alerts */
  42.  
  43. #define kStdInfo            1            /* Index to standard info string */
  44. #define kCachingPass        2            /* Index to "Caching pass…" string */
  45. #define kTestingTextBox        3            /* Index to "Testing TextBox" string */
  46. #define kTestingNeoTextBox    4            /* Index to "Testing NeoTextBox" string */
  47.  
  48. #define kTestIterations        200            /* Number of test iterations */
  49.  
  50. #define kTrueTypeTrap        0x54        /* The TrueType trap number */
  51. #define kUnimplTrap            0x9f        /* The "unimplmented" trap num */
  52.